package com.tac.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tac.common.result.Result;
import com.tac.pojo.Strategy;

public interface StrategyService extends IService<Strategy> {

    /**
     * 查看全部攻略
     * @return
     */
    public Result<IPage<Strategy>> selectAll(long page);
    /**
     * 写游记
     * @param strategy
     * @return
     */
    public Result saveStrategy(Strategy strategy,Long userId);
}
